//
//  CertKeyUsage.h
//  TestProject
//
//  Created by 武侠 on 2022/2/17.
//  Copyright © 2022 zhulong. All rights reserved.
//

#import "_CertBitString.h"

NS_ASSUME_NONNULL_BEGIN

// 证书密钥用法
@interface CertKeyUsage : _CertBitString

@property (nonatomic, assign) BOOL digitalSignature;    // 数字签名
@property (nonatomic, assign) BOOL nonRepudiation;      // 认可签名
@property (nonatomic, assign) BOOL keyEncipherment;     // 密钥加密
@property (nonatomic, assign) BOOL dataEncipherment;    // 数据加密
@property (nonatomic, assign) BOOL keyAgreement;        // 密钥协商
@property (nonatomic, assign) BOOL keyCertSign;         // 证书签名
@property (nonatomic, assign) BOOL cRLSign;             // CRL 签名
@property (nonatomic, assign) BOOL encipherOnly;        // 仅仅加密
@property (nonatomic, assign) BOOL decipherOnly;        // 仅仅解密

@end

NS_ASSUME_NONNULL_END
